<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'BuyCar_Three.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link type="text/css" rel="stylesheet" href="statics/css/style.css" />
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript"
	src="/EasyBuy/statics/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/EasyBuy/statics/js/menu.js"></script>

<script type="text/javascript" src="/EasyBuy/statics/js/n_nav.js"></script>

<script type="text/javascript" src="/EasyBuy/statics/js/num.js">
	var jq = jQuery.noConflict();
</script>

<script type="text/javascript" src="/EasyBuy/statics/js/shade.js"></script>


</head>

<body>
	<!-- 头部 -->

	<c:if test="${list1==null }">
		<%
			request.getRequestDispatcher(
						"../../IndexServlet?opr=type&hre=BuyCar_Three").forward(
						request, response);
		%>
	</c:if>
	
	<%@ include file="../../common/header.jsp"%>
	<%@ include file="../../common/preHeader.jsp"%>
	<!--Begin Header Begin-->

	<!--End Menu End-->
	<div class="i_bg">
		<div class="content mar_20">
			<img src="/EasyBuy/statics/images/img3.jpg" />
		</div>

		<!--Begin 第三步：提交订单 Begin -->
		<div class="content mar_20">
		<%
			String mode = request.getParameter("mode");		//支付方式
			request.setAttribute("mode", mode);
			String Orderid = request.getParameter("Orderid");		//订单号
			request.setAttribute("Orderid", Orderid);
			String money = request.getParameter("money");		//价格
			request.setAttribute("money", money);
			String express = request.getParameter("express");		//快递
			request.setAttribute("express", express);
		 %>
		<c:if test="${mode==0 }">
			<!--Begin 余额不足 Begin -->
			<div class="warning">
				<table border="0" style="width:1000px; text-align:center;"
					cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<p style="font-size:22px;">提示 !</p> <b
							style="color:#ff4e00; font-size:16px; font-family:'宋体';">您的余额不足以支付整个订单，请选择其他支付方式</b>
							<div class="backs">
								<a href="#">返回上一页</a>
							</div></td>
					</tr>
				</table>
			</div>
			<!--Begin 余额不足 Begin -->
		</c:if>
		<c:if test="${mode==1 }">
			<!--Begin 余额 Begin -->
			<div class="warning">
				<table border="0" style="width:1000px; text-align:center;"
					cellspacing="0" cellpadding="0">
					<tr height="35">
						<td style="font-size:18px;">感谢您在本店购物！您的订单已提交成功，请记住您的订单号: <font
							color="#ff4e00">${Orderid }</font></td>
					</tr>
					<tr>
						<td
							style="font-size:14px; font-family:'宋体'; padding:10px 0 20px 0; border-bottom:1px solid #b6b6b6;">
							您选定的配送方式为: <font color="#ff4e00">${express }</font>； &nbsp;
							&nbsp;您选定的支付方式为: <font color="#ff4e00">余额</font>； &nbsp;
							&nbsp;您的应付款金额为: <font color="#ff4e00">${money }</font></td>
					</tr>
					<tr>
						<td><a href="/EasyBuy/pre/Index.jsp">首页</a> &nbsp; &nbsp; <a href="#">用户中心</a></td>
					</tr>
				</table>
			</div>
			<!--Begin 余额 Begin -->
		</c:if>
		
		<c:if test="${mode==2 }">
			<!--Begin 银行卡支付 Begin -->
			<div class="warning">
				<table border="0" style="width:1000px; text-align:center;"
					cellspacing="0" cellpadding="0">
					<tr height="35">
						<td style="font-size:18px;">感谢您在本店购物！您的订单已提交成功，请记住您的订单号: <font
							color="#ff4e00">${Orderid }</font></td>
					</tr>
					<tr>
						<td
							style="font-size:14px; font-family:'宋体'; padding:10px 0 20px 0; border-bottom:1px solid #b6b6b6;">
							您选定的配送方式为: <font color="#ff4e00">${express }</font>； &nbsp;
							&nbsp;您选定的支付方式为: <font color="#ff4e00">支付宝</font>； &nbsp;
							&nbsp;您的应付款金额为: <font color="#ff4e00">${money }</font></td>
					</tr>
					<tr>
						<td style="padding:20px 0 30px 0; font-family:'宋体';">银行名称
							收款人信息：全称 ××× ；帐号或地址 ××× ；开户行 ×××。 <br />
							注意事项：办理电汇时，请在电汇单“汇款用途”一栏处注明您的订单号。</td>
					</tr>
					<tr>
						<td><a href="/EasyBuy/pre/Index.jsp">首页</a> &nbsp; &nbsp; <a href="#">用户中心</a></td>
					</tr>
				</table>
			</div>
			<!--Begin 银行卡支付 Begin -->
		</c:if>
		
		<c:if test="${mode==3 }">
			<!--Begin 货到付款  Begin -->
			<div class="warning">
				<table border="0" style="width:1000px; text-align:center;"
					cellspacing="0" cellpadding="0">
					<tr height="35">
						<td style="font-size:18px;">感谢您在本店购物！您的订单已提交成功，请记住您的订单号: <font
							color="#ff4e00">${Orderid }</font></td>
					</tr>
					<tr>
						<td
							style="font-size:14px; font-family:'宋体'; padding:10px 0 20px 0; border-bottom:1px solid #b6b6b6;">
							您选定的配送方式为: <font color="#ff4e00">${express }</font>； &nbsp;
							&nbsp;您选定的支付方式为: <font color="#ff4e00">货到付款</font>； &nbsp;
							&nbsp;您的应付款金额为: <font color="#ff4e00">${money }</font></td>
					</tr>
					<tr>
						<td style="padding:20px 0 30px 0; font-family:'宋体';">银行名称
							收款人信息：全称 ××× ；帐号或地址 ××× ；开户行 ×××。 <br />
							注意事项：办理电汇时，请在电汇单“汇款用途”一栏处注明您的订单号。</td>
					</tr>
					<tr>
						<td><a href="/EasyBuy/pre/Index.jsp">首页</a> &nbsp; &nbsp; <a href="#">用户中心</a></td>
					</tr>
				</table>
			</div>
			<!--Begin 货到付款  Begin -->
		</c:if>
		
		<c:if test="${mode==4 }">
			<!--Begin 支付宝支付 Begin -->
			<div class="warning">
				<table border="0" style="width:1000px; text-align:center;"
					cellspacing="0" cellpadding="0">
					<tr height="35">
						<td style="font-size:18px;">感谢您在本店购物！您的订单已提交成功，请记住您的订单号: <font
							color="#ff4e00">${express }</font></td>
					</tr>
					<tr>
						<td
							style="font-size:14px; font-family:'宋体'; padding:10px 0 20px 0; border-bottom:1px solid #b6b6b6;">
							您选定的配送方式为: <font color="#ff4e00">${Orderid }</font>； &nbsp;
							&nbsp;您选定的支付方式为: <font color="#ff4e00">银行卡</font>； &nbsp;
							&nbsp;您的应付款金额为: <font color="#ff4e00">${money }</font></td>
					</tr>
					<tr>
						<td style="padding:20px 0 30px 0; font-family:'宋体';">
							支付宝网站(www.alipay.com) 是国内先进的网上支付平台。<br />
							支付宝收款接口：在线即可开通，零预付，免年费，单笔阶梯费率，无流量限制。<br /> <a href="#"
							style="color:#ff4e00;">立即在线申请</a></td>
					</tr>
					<tr>
						<td>
							<div class="btn_u"
								style="margin:0 auto; padding:0 20px; width:120px;">
								<a href="#">立即使用支付宝支付</a>
							</div> <a href="/EasyBuy/pre/Index.jsp">首页</a> &nbsp; &nbsp; <a href="#">用户中心</a></td>
					</tr>
				</table>
			</div>
			<!--Begin 支付宝支付 Begin -->
		</c:if>

			<!--End 猜你喜欢 End-->

			<%@ include file="../../common/footer.jsp"%>

			<!-- 脚部 -->
		</div>
		
	<script type="text/javascript" src="/EasyBuy/statics/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".leftNav").hide();		//全部分类3级菜单隐藏
		});
	</script>
</body>
</html>
